package com.esms.esmsadmin.mapper;


import com.esms.esmsadmin.entity.AdminEntity;
import com.esms.esmsadmin.entity.RoleEntity;
import org.apache.ibatis.annotations.Param;


import java.util.List;

public interface AdminMapper {


    AdminEntity loadUserByName(String username);

    List<RoleEntity> getAdminRolesById();

    List<AdminEntity> getAllAdmin(@Param("id") Integer id,@Param("keywords") String keywords);

    int updateByPrimaryKeySelective(AdminEntity record);

    int deleteByPrimaryKey(Integer id);

}